<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/6/7
 * Time: 15:13
 */

namespace app\api\model;


class Question extends  BaseModel
{
    protected $hidden=['questionnaire_id'];
    public function  option(){
        return $this->hasMany('Options','question_id',"id");
    }
   
}